package org.yzh.rbac.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.yzh.rbac.model.entity.RoleDO;

import java.util.List;

@Mapper
@Repository
public interface RoleMapper {

    List<RoleDO> find(RoleDO entity);

    RoleDO get(Integer id);

    int insertSelective(RoleDO entity);

    int insert(RoleDO entity);

    int update(RoleDO entity);

    int delete(Integer id);

}